package com.zjl.workflow.repository.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/*
 * 流程实例历史记录
 *
 * @Author zhuangjl
 * @Date 2021/11/26 14:35
 **/
@Mapper
public interface ActHiProcinstMapper {

    @Update("  UPDATE  ACT_HI_PROCINST SET NAME_ = #{title,jdbcType=VARCHAR}" +
            "   WHERE ID_ = #{procinstId,jdbcType=VARCHAR}")
    void updateProcinstNameById(@Param("procinstId") String procinstId, @Param("title") String title);
}
